import request from "./http";

// 获取用户详情
export function getUserdetail(params) {
    return request({
        url: "/user/detail",
        method: "get",
        params
    })
}

//获取用户歌单信息
export function getUserPlaylist(params) {
    return request({
        url: "/user/playlist",
        method: "get",
        params
        
    })
}

// 获取我喜欢的音乐
export function getUserLikelist(params) {
    return request({
        url: "/likelist",
        method: "get",
        params
    })
}

//获取用户等级
export function getUserLevel() {
    return request({
        url: "/user/level",
        method: "get",
        
    })
}


//获取粉丝
export function getfolloweds(params) {
    return request({
        url: "/user/followeds",
        method: "get",
        params
    })
}


export function getuserFollows(params) {
    return request({
        url: "/user/follows",
        method: "get",
        params
    })
}


//新建歌单
export function getuserCreate(params) {
    return request({
        url: "/playlist/create",
        method: "get",
        params
    })
}

//删除歌单

export function getplaylistDelete(params) {
    return request({
        url: "/playlist/delete",
        method: "get",
        params
    })
}

